#pragma once
#include "Precompile.h"
#include "WindowsEngineInterface.h"
#include "Event.h"
#include "SMQuadTree.h"
#include "QuaternionCamera.h"
#include "MatrixCamera.h"
#include "ScriptManager.h"
#include "StateManager.h"

class EngineManager{
public:
	EngineManager();

	void renderFunc(Graphics::RenderContext* context);

	bool initialize(EngineInterfacePtr engine);

private:
	Graphics::RenderMode m_mode;
	EngineInterfacePtr m_engine;

	boost::shared_ptr<Core::EventConnection> m_renderConnection;
	StateManagerPtr m_stateManager;
};